<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>main</title>
    <script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.min.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/paho-mqtt/1.0.1/mqttws31.js" type="text/javascript"></script>

    <script type="text/javascript" src="tools/json2.js"></script>
    <script type="text/javascript" src="tools/bigDecimal.js"></script>
    <script type="text/javascript" src="tools/staticTools.js"></script>
    <script type="text/javascript" src="tools/co.js"></script>
    <script type="text/javascript" src="tools/cashConversionTools.js"></script>

    <script type="text/javascript" src="util/date-util.js"></script>
    <script type="text/javascript" src="util/common-util.js"></script>
    <script type="text/javascript" src="util/test-util.js"></script>
    
    <script type="text/javascript" src="handle/handle_object.js"></script>

    <script type="text/javascript">
        $(document).ready(function () {

            console.log("\n------------testUtil----------------");
            // testUtil.testNumber();
            // testUtil.testBigDecimal();
            // testUtil.testCashConversionTools();
            // testUtil.testJson2();
            // testUtil.testStaticTools();
            // testUtil.testCO();
            // testUtil.testSplit();
            testUtil.testArrSlice();

            console.log("\n------------dateUtil----------------");
            // console.log(dateUtil.format(dateUtil.formatArg.format1, new Date()));
            // console.log(new Date().format(dateUtil.formatArg.format2));
            // console.log(dateUtil.getNowFormatDate());
            // console.log(dateUtil.displayDate());
            // console.log(dateUtil.checkDateTime("2010-07-07 09:12:00"));
            // console.log(dateUtil.checkDate("2010-07-07"));
            // console.log(dateUtil.addDate("2019-04-19", 1));

            console.log("\n------------commonUtil----------------");
            // console.log(commonUtil.getUUID());
            // console.log(commonUtil.arrayUnip([6, 1, 2, 1, 6, 7]).sort());
            // console.log(commonUtil.subStrForPrint1("我1是1谁", 4));
            // console.log(commonUtil.subStrForPrint2("我1是1谁", 4));
            // console.log(commonUtil.getNumFromString("我的数字123"));
            // console.log(commonUtil.getStrTrueLength("我的数字123"));
            // commonUtil.runTime();

            console.log("\n------------handle_object----------------");
            // objectHandle.testDefineProperty();
            // objectHandle.testDefineProperties();
            // objectHandle.testSeal();
            // objectHandle.testPreventExtensions();
            // objectHandle.testAssign();
            // objectHandle.testFreeze();
            // objectHandle.testEntries();
            // objectHandle.testFromEntries();
            // objectHandle.testKeys();
            // objectHandle.testValues();
        });
    </script>
</head>

<body>

<input name="test" type="text" style="width: 100px"/>

</body>

<script type="text/javascript" src="handle/input_autocomplete.js"></script>

</html>
